.class Lcom/netease/newsreader/activity/SelectCity$2;
.super Landroid/widget/Filter;
.source "SelectCity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/SelectCity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/SelectCity;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/SelectCity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/SelectCity$2;->this$0:Lcom/netease/newsreader/activity/SelectCity;

    .line 501
    invoke-direct {p0}, Landroid/widget/Filter;-><init>()V

    return-void
.end method


# virtual methods
.method protected performFiltering(Ljava/lang/CharSequence;)Landroid/widget/Filter$FilterResults;
    .locals 3
    .parameter "constraint"

    .prologue
    .line 511
    iget-object v2, p0, Lcom/netease/newsreader/activity/SelectCity$2;->this$0:Lcom/netease/newsreader/activity/SelectCity;

    check-cast p1, Ljava/lang/String;

    .end local p1
    invoke-static {v2, p1}, Lcom/netease/newsreader/activity/SelectCity;->access$6(Lcom/netease/newsreader/activity/SelectCity;Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    .line 513
    .local v0, filteredResults:Ljava/util/List;,"Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;>;"
    new-instance v1, Landroid/widget/Filter$FilterResults;

    invoke-direct {v1}, Landroid/widget/Filter$FilterResults;-><init>()V

    .line 514
    .local v1, results:Landroid/widget/Filter$FilterResults;
    iput-object v0, v1, Landroid/widget/Filter$FilterResults;->values:Ljava/lang/Object;

    .line 516
    return-object v1
.end method

.method protected publishResults(Ljava/lang/CharSequence;Landroid/widget/Filter$FilterResults;)V
    .locals 3
    .parameter "constraint"
    .parameter "results"

    .prologue
    .line 504
    iget-object v1, p0, Lcom/netease/newsreader/activity/SelectCity$2;->this$0:Lcom/netease/newsreader/activity/SelectCity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/SelectCity;->access$5(Lcom/netease/newsreader/activity/SelectCity;)Landroid/os/Handler;

    move-result-object v1

    const/4 v2, 0x3

    invoke-virtual {v1, v2}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v0

    .line 505
    .local v0, msg:Landroid/os/Message;
    iget-object v1, p2, Landroid/widget/Filter$FilterResults;->values:Ljava/lang/Object;

    iput-object v1, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 506
    iget-object v1, p0, Lcom/netease/newsreader/activity/SelectCity$2;->this$0:Lcom/netease/newsreader/activity/SelectCity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/SelectCity;->access$5(Lcom/netease/newsreader/activity/SelectCity;)Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 507
    return-void
.end method
